package com.fyx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fyx.entity.SysUser;

import java.util.List;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author 方扬秀
 * @since 2020-12-23
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    IPage<SysUser> getAddressList(Page<SysUser> page, Long userId);

    List<SysUser> getUserNames(List<Long> deptIds);
}
